package com.exam.test.Client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName : PaperClient
 * @Description :
 * @Author : WHB
 */

@FeignClient("paper-service")
public interface PaperClient {

    @GetMapping("exam/testScore")
    public int getScore(@RequestParam("testId") Integer testId, @RequestParam("userId") Long userId);
}
